//导入request.js请求工具
import request from '@/utils/request.js'

export const addOrderService = (data) => {
    return request.post('/order/create',data)
}

export const getOrderListService = () => {
    return request.get('/order/list')
}

export const deleteOrderService = (oid) => {
    return request.delete('/order/delete?oid='+oid)
}